package org.openurp.edu.student.info

import org.beangle.commons.inject.bind.AbstractBindModule
import org.openurp.edu.student.info.web.action.AdminAction
import org.openurp.edu.student.info.web.action.CazeAction
import org.openurp.edu.student.info.web.action.ExchangeAction
import org.openurp.edu.student.info.web.action.HomeAction
import org.openurp.edu.student.info.web.action.LoginAction
import org.openurp.edu.student.info.web.action.ManagerAction
import org.openurp.edu.student.info.web.action.MyInforAction
import org.openurp.edu.student.info.web.action.NewzAction
import org.openurp.edu.student.info.web.action.PaymentAction
import org.openurp.edu.student.info.web.action.PayrecordAction
import org.openurp.edu.student.info.web.action.PolicyAction
import org.openurp.edu.student.info.web.action.StudentAction
import org.openurp.edu.student.info.web.action.WelcomeAction
import org.openurp.edu.student.info.web.security.SecurityInterceptor
import org.openurp.edu.student.info.web.action.PaperAction
import org.openurp.edu.student.info.web.action.IndexBaseAction
import org.openurp.edu.student.info.web.action.ExampleAction

class DefaultModule extends AbstractBindModule {

  protected def binding(): Unit = {
    bind(classOf[ManagerAction])
    bind(classOf[StudentAction])
    bind(classOf[LoginAction])
    bind(classOf[WelcomeAction])
    bind(classOf[HomeAction])
    bind(classOf[ExchangeAction])
    bind(classOf[PaymentAction])
    bind(classOf[PayrecordAction])
    bind(classOf[AdminAction])
    bind(classOf[MyInforAction])
    bind(classOf[CazeAction])
    bind(classOf[PolicyAction])
    bind(classOf[NewzAction])
    bind(classOf[PaperAction])
    bind(classOf[IndexBaseAction])
    bind(classOf[ExampleAction])
    bind("web.Interceptor.mysecurity", classOf[SecurityInterceptor])

  }
}